package com.mku.parkingmanagement_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mku.parkingmanagement_service.entity.Stall;
import com.mku.parkingmanagement_service.entity.StallRes;
import com.mku.parkingmanagement_service.vo.StallResVo;
import com.mku.parkingmanagement_service.vo.StallVo;
import com.mku.parkingmanagement_service.vo.comm.ResultVO;

import java.util.Arrays;
import java.util.List;

public interface StallService extends IService<Stall> {
    ResultVO<Object> getStallsByPage(StallVo stallVo);

    ResultVO<Object> addStall(Stall stall);

    Object getAllListStallRes(StallResVo stallResVo);

    ResultVO<Object> orderStall(Integer uid, Integer sid);

    List<StallRes> getAllStallRes(String person);

    List<StallRes> getAllNoPay(String person);

    Object payMoneyPerson(StallRes stallRes);
}
